package TrainController;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

import org.junit.Test;
import TrainController.VitalOperations;

public class TrainControllerVitalOps 
{
	
	//VitalOperations vit = new VitalOperations(); 
	
	@Test
	public void SpeedSetpoint0()
	{
		//double dPow = vit.calcPower(0,0);
		//assertTrue(dPow == 0 );
	}
	@Test
	public void SpeedSetpoint120()
	{
	//	double dPow = vit.calcPower(18,0);
		//System.out.println(dPow+ "\n");
		//assertFalse(dPow == 120 );
	}

	
	@Test
	public void GrabNewSpeed()
	{
		double oldSpeed = 0;
		double newSpeed = oldSpeed;
		//newSpeed = vit.updateSpeedSuggestion();
		assertTrue(newSpeed != oldSpeed);
	}
	
	@Test
	public void EBrakeUnused()
	{
		boolean thrwbrk = false;
		boolean res;
		//res = vit.throwEBrake(thrwbrk);
		//assertTrue(res != true);
	}
	@Test
	public void EBrakeUsed()
	{
		//boolean thrwbrk = true;
		//boolean res;
		fail("Not implemented yet");
		//res = vit.throwEBrake(thrwbrk);
		//assertTrue(res == true);	
	}
	@Test 
	public void SpazzMagic()
	{
		
	}
}